Personal tools
Click here to login with your JC2-MP account
Lua/Shared/Vector3/Static Functions/DistanceSqr2D - JC2-MP Documentation
Page
Discussion
View source
History
Search
Main
Main page
Web site
Recent changes
Lua
Tutorials
Server
Client
Shared
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Lua/Shared/Vector3/Static Functions/DistanceSqr2D
From JC2-MP Documentation
<
Lua
|
Shared
|
Vector3
Jump to:
navigation
,
search
Returns
number
Prototype
Vector3.DistanceSqr2D(Vector3, Vector3)
Description
Calculates the squared 2D distance between the given vectors ignoring the y-axis value, this is much faster than calculating the normal distance.